package com.namo.ccharticle.service;

import com.google.gson.JsonObject;
import com.namo.ccharticle.entity.Article;

import java.util.List;

/**
 * @author WangXin
 * @date 2021/5/15 14:51
 */
public interface ArticleService {
    /**
     * 查询所有的文章
     * @return
     */
    List<Article> getArticleList();

    Object addArticle(JsonObject reqObject);

    JsonObject getArticleInfo(String id);
}
